package com.team.book.common.util;

/**
 * @author iw
 * @create 2017-05-08 16:23
 **/
public class EntityUtil {
    public static String PERCENT_SIGN = "%";
    public static String getLike(String str){
        return PERCENT_SIGN+str+PERCENT_SIGN;
    }

    public static String rightLike(String str){
        return str+PERCENT_SIGN;
    }

    public static String leftLike(String str){
        return PERCENT_SIGN+str;
    }
}
